package com.zz.inventory.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import java.math.BigDecimal;
import java.util.Date;

public class StudentWorstScoreDTO {
    private Integer recordId;

    @Excel(name = "学生id")
    private Integer studentId;  // 或 private Integer studentId;
    @Excel(name = "考试id")
    private Integer examId;     // 或 private Integer examId;
    @Excel(name = "班级名称")
    private String className;

    @Excel(name = "学生姓名")
    private String studentName;

    @Excel(name = "考试科目")
    private String examName;

    @Excel(name = "最低成绩")
    private BigDecimal worstScore;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date submitTime;

    @Excel(name = "评分状态", readConverterExp = "auto_graded=自动评分,pending_review=待复核,reviewed=已复核,rejected=已驳回")
    private String scoreStatus;
    private String fileContent;
    // Getter和Setter方法
    public String getClassName() { return className; }
    public void setClassName(String className) { this.className = className; }
    public String getStudentName() { return studentName; }
    public void setStudentName(String studentName) { this.studentName = studentName; }
    public String getExamName() { return examName; }
    public void setExamName(String examName) { this.examName = examName; }
    public BigDecimal getWorstScore() { return worstScore; }
    public void setWorstScore(BigDecimal worstScore) { this.worstScore = worstScore; }
    public Date getSubmitTime() { return submitTime; }
    public void setSubmitTime(Date submitTime) { this.submitTime = submitTime; }
    public String getScoreStatus() { return scoreStatus; }
    public void setScoreStatus(String scoreStatus) { this.scoreStatus = scoreStatus; }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getExamId() {
        return examId;
    }

    public void setExamId(Integer examId) {
        this.examId = examId;
    }
    public Integer getRecordId() { return recordId; }
    public void setRecordId(Integer recordId) { this.recordId = recordId; }

    public String getFileContent() {
        return fileContent;
    }

    public void setFileContent(String fileContent) {
        this.fileContent = fileContent;
    }
}